import './assets/main.css'

import { createApp } from 'vue'
 import ElementPlus from 'element-plus'
 import 'element-plus/dist/index.css'
import App from './App.vue'

//引入组件
import GlobalComDemo from './components/GlobalComDemo.vue'

//引入路由对象
import router from './router'

//引入Vuex实例化对象
import store from './store'

const app = createApp(App)

//注册全局组件
app.component('GlobalComDemo',GlobalComDemo)

//使用element plus
app.use(ElementPlus)

//注册路由
app.use(router)

//注Vuex
app.use(store)

app.mount('#app')
